package com.basics.channel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.basics.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 帖子评论
 * </p>
 *
 * @author WangWei
 * @since 2025-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cy_channel_comment")
@ApiModel(value="CyChannelComment对象", description="帖子评论")
public class CyChannelComment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "帖子ID")
    private Long postId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "cure用户ID")
    private Long cureUserId;

    @ApiModelProperty(value = "评论类型(1评论,2回复)")
    private Integer commentType;

    @ApiModelProperty(value = "评论内容")
    private String comment;

    @ApiModelProperty(value = "评论图片")
    private String imagesUrl;

    @ApiModelProperty("父级评论ID")
    private String parentId;
}
